require.config({
	baseUrl: 'lib/',
	paths: {
		'bDialog': 'bDialog/js/b.dialog',
		'bootstrap': 'bootstrap3/js/bootstrap.min',
		'bootstrap.editable': 'bootstrap-editable/js/bootstrap-editable-vw', //修改过
		'bootstrap.fileinput': 'bootstrap-fileinput/js/fileinput.min',
		'bootstrap.fileinput-cn': 'bootstrap-fileinput/js/zh',
		'bootstrap.paginator': 'bootstrap-paginator/js/bootstrap-paginator',
		'bootstrap.switch': 'bootstrap-switch/js/bootstrap-switch.min',
		'bootstrap.table': 'bootstrap-table/js/vw-bootstrap-table3',
		'bootstrap.table-cn': 'bootstrap-table/js/bootstrap-table-zh-CN.min',
		'bootstrap.table.jumpto': 'bootstrap-table/extensions/page-jumpto/bootstrap-table-jumpto',
		'bootstrap.table.edit': 'bootstrap-table/extensions/editable/bootstrap-table-editable.min',
		'bootstrap.table.export': 'bootstrap-table/extensions/export/bootstrap-table-export.min',
		'bootstrap.table.treegrid': 'bootstrap-table/extensions/treegrid/bootstrap-table-treegrid',
		'bootstrap.treeview': 'bootstrap-treeview-plus/js/vw-bootstrap-treeview.min',
		'bootstrap.treeview.ori': 'bootstrap-treeview/js/bootstrap-treeview.min',
		'bootstrap.validator': 'bootstrap-validator/js/bootstrapValidator.min',
		'bootstrap.validator-cn': 'bootstrap-validator/js/zh_CN',
		'bootstrap.wizard': 'bootstrap-wizard/js/jquery.bootstrap.wizard',
		'd3': 'd3/js/d3.min',
		'd3pie': 'd3/js/d3pie.min',
		'echarts': 'echarts/js/echarts',
		'FileSaver': 'xlsx/js/FileSaver',
		'jquery': 'jquery/js/jquery-1.10.1.min',
		'jquery.dataTables': 'jquery-datatables/js/jquery.dataTables.min',
		'jquery.dataTables.bootstrap': 'jquery-datatables/js/dataTables.bootstrap.min',
		'jquery.querybuilder': 'jquery-querybuilder/js/query-builder.min',
		'jquery.querybuilder-cn': 'jquery-querybuilder/js/query-builder.zh-CN',
		'jquery-extendext': 'jquery-querybuilder/js/jQuery.extendext.min',
		'dot/doT': 'jquery-querybuilder/js/dot/doT.min',
		'jquery.sumoselect': 'jquery-sumoselect/js/jquery.sumoselect.min',
		'jquery.treegrid': 'bootstrap-table/extensions/treegrid/jquery.treegrid.min',
		'jquery.ui': 'jquery/js/jquery-ui.min',
		'jquery.validate': 'jquery-validate/js/jquery.validate.min',
		'jquery.validate-cn': 'jquery-validate/js/messages_zh.min',
		'leaflet': 'leaflet/js/leaflet',
		'leaflet.ajax': 'leaflet/js/leaflet.ajax.min',
		'leaflet.custom': 'leaflet/js/Leaflet.Control.Custom',
		'leaflet.markercluster': 'leaflet/js/leaflet.markercluster',
		'leaflet.measure': 'leaflet/js/leaflet-measure',
		'leaflet.MousePosition': 'leaflet/js/L.Control.MousePosition',
		'leaflet.ChineseTmsProviders': 'leaflet/js/leaflet.ChineseTmsProviders',
		'leaflet.fullscreen': 'leaflet/js/Leaflet.fullscreen.min',
		'leaflet.groupedlayercontrol': 'leaflet/js/leaflet.groupedlayercontrol',
		'leaflet.SelectAreaFeature': 'leaflet/js/Leaflet.SelectAreaFeature',
		'leaflet.Zoominfo': 'leaflet/js/L.Control.Zoominfo',
		'leaflet.WMTS': 'leaflet/js/leaflet-tilelayer-wmts',
		'viewer': 'viewer/js/viewer.min',
		'wicket': 'leaflet/js/wicket',
		'wicket.leaflet': 'leaflet/js/wicket-leaflet',
		'math': 'math/js/math.min',
		'md5': 'md5/js/md5',
		'moment': 'bootstrap-editable/js/moment/moment',
		'mustache': 'mustache/js/mustache.min',
		'pinyin': 'select2/js/pinyin',
		'sql': 'sql/js/sql',
		'select2': 'select2/js/select2.full.py',
		'select2-cn': 'select2/js/zh-CN',
		'xlsx': 'xlsx/js/xlsx.full.min',

		'notify': "vw/js/notify",
		'vw.header': 'vw/js/vw.header',
		'vw.common': 'vw/js/vw.common',
		'vw.static': 'vw/js/vw.static',
		'vw.searchtree': 'vw/js/vw.searchtree',
		'vw.dialog': 'vw/js/vw.dialog',
		'vw.edittable': 'vw/js/vw.edittable',
		'vw.edittable.data': 'vw/js/vw.edittable.data',
		'vw.bindreport': 'vw/js/vw.bindreport',
		'vw.query': 'vw/js/vw.query',
		'vw.map': 'vw/js/vw.map',
		'vw.structure': 'vw/js/vw.structure',
		'vw.display': 'vw/js/vw.display',
		'vw.config.interface': '../js/vw.config.interface',
		'vw.config.template': '../js/vw.config.template',
		'login': '../js/login',
		'mainform': '../js/mainform',

		'vw.stat': '../temp/vw.stat',
		'vw.map1': '../temp/vw.map',
	},
	shim: {
		'bDialog': {
			deps: ['jquery.ui', 'css!../lib/bDialog/css/b.dialog.bootstrap3.css']
		},
		'bootstrap': {
			deps: ['jquery', 'css!../lib/bootstrap3/css/bootstrap.min.css', ]
		},
		'bootstrap.fileinput': {
			deps: ['bootstrap', 'css!../lib/bootstrap-fileinput/css/fileinput.min.css']
		},
		'bootstrap.fileinput-cn': {
			deps: ['bootstrap.fileinput']
		},
		'bootstrap.paginator': {
			deps: ['bootstrap']
		},
		'bootstrap.table': {
			deps: ['bootstrap', 'css!../lib/bootstrap-table/css/bootstrap-table3.css']
		},
		'bootstrap.table-cn': {
			deps: ['bootstrap.table', 'bootstrap.table.jumpto', 'css!../lib/bootstrap-table/extensions/page-jumpto/bootstrap-table-jumpto.css']
		},
		'bootstrap.editable': {
			deps: ['bootstrap', 'moment', 'css!../lib/bootstrap-editable/css/bootstrap-editable.css']
		},
		'bootstrap.switch': {
			deps: ['jquery', 'css!../lib/bootstrap-switch/css/bootstrap-switch.min.css']
		},
		'bootstrap.table.jumpto': {
			deps: ['bootstrap.table']
		},
		'bootstrap.table.edit': {
			deps: ['bootstrap.table', 'bootstrap.editable']
		},
		'bootstrap.table.export': {
			deps: ['bootstrap.table', 'tableExport']
		},
		'bootstrap.table.treegrid': {
			deps: ['bootstrap.table', 'jquery.treegrid']
		},
		'bootstrap.wizard': {
			deps: ['bootstrap', 'css!../lib/bootstrap-wizard/css/custom.css']
		},
		'jquery.treegrid': {
			deps: ['jquery', 'css!../lib/bootstrap-table/extensions/treegrid/jquery.treegrid.min.css']
		},
		'jquery.dataTables': {
			deps: ['jquery']
		},
		'jquery.dataTables,bootstrap': {
			deps: ['bootstrap']
		},
		'jquery.sumoselect': {
			deps: ['jquery', 'css!../lib/jquery-sumoselect/css/sumoselect.min.css']
		},
		'jquery.querybuilder': {
			deps: ['css!../lib/jquery-querybuilder/css/query-builder.default.min.css']
		},
		'bootstrap.treeview.ori': {
			deps: ['jquery', 'css!../lib/bootstrap-treeview/css/bootstrap-treeview.min.css']
		},
		'bootstrap.treeview': {
			deps: ['jquery', 'css!../lib/bootstrap-treeview-plus/css/bootstrap-treeview.min.css']
		},
		'bootstrap.validator': {
			deps: ['bootstrap']
		},
		'bootstrap.validator-cn': {
			deps: ['bootstrap.validator']
		},
		'd3pie': {
			deps: ['d3']
		},
		'leaflet': {
			deps: ['css!../lib/leaflet/css/leaflet.css']
		},
		'leaflet.ajax': {
			deps: ['leaflet']
		},
		'leaflet.fullscreen': {
			deps: ['leaflet', 'css!../lib/leaflet/css/leaflet.fullscreen.css']
		},
		'leaflet.markercluster': {
			deps: ['leaflet', 'css!../lib/leaflet/css/MarkerCluster.css']
		},
		'leaflet.measure': {
			deps: ['leaflet', 'css!../lib/leaflet/css/leaflet-measure.css']
		},
		'leaflet.MousePosition': {
			deps: ['leaflet', 'css!../lib/leaflet/css/L.Control.MousePosition.css']
		},
		'leaflet.custom': {
			deps: ['leaflet']
		},
		'leaflet.ChineseTmsProviders': {
			deps: ['leaflet']
		},
		'leaflet.groupedlayercontrol': {
			deps: ['leaflet', 'css!../lib/leaflet/css/leaflet.groupedlayercontrol.css']
		},
		'leaflet.SelectAreaFeature': {
			deps: ['leaflet']
		},
		'leaflet.Zoominfo': {
			deps: ['leaflet', 'css!../lib/leaflet/css/L.Control.Zoominfo.css']
		},
		'leaflet.WMTS': {
			deps: ['leaflet']
		},
		'viewer': {
			deps: ['jquery', 'css!../lib/viewer/css/viewer.min.css']
		},
		'wicket.leaflet': {
			deps: ['wicket', 'leaflet']
		},
		'select2': {
			deps: ['jquery', 'css!../lib/select2/css/select2.min.css']
		},
		'select2-cn': {
			deps: ['select2', 'pinyin']
		},
		'notify': {
			deps: ['css!../lib/vw/css/notify.css']
		},
		'vw.config.template': {
			deps: ['css!../css/vw.template.css']
		},
		"vw.common": {
			deps: ['jquery']
		}
	},
	map: {
		'*': {
			'css': 'requirejs/css.min',
			'datatables.net': 'jquery.dataTables'
		}
	},
});

require([
	'vw.static',
	"vw.common",
	"vw.config.interface",
	'notify',
	"bDialog",
	'css!../lib/bootstrap3/css/bootstrap.min.css',
	'css!../lib/font-awesome/css/font-awesome.min.css',
	'css!../lib/vw/css/vw.extend.css'
], function() {});